package oop_polmorphism.demo1;

public class Teacher extends Person{
    public Teacher(){
        super();
    }
    public Teacher(String name, int age){
        super(name,age);
    }
    @Override
    public void show(){
        System.out.println("老师的姓名：" + this.getName() + "老师的年龄为：" + this.getAge());
    }
}
